/* 现代化主题样式 */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #2C3E50;
    --border-radius: 8px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f8fa;
    min-height: 100vh;
}

/* Header and Navigation */
.header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 50px;
    height: 50px;
}

.site-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateY(-2px);
}

.nav-item.active {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

.nav-item i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .nav-item {
        padding: 0.5rem;
    }
}

/* 添加到 style.css 末尾 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
} 